//Under GNU AGPL v3, see LICENCE

package beartek.agora.types;

@:enum abstract Protocol_types(String) {
  //only GET
  var report_form = 'report_form';
  var registration_form = 'registration_form';
  var default_config = 'default_config';
  var trending_concepts = 'trending_concepts';
  var trending_topics = 'trending_topics';
  var search = 'search';
  var regex_search = 'regex_search';
  var full_user_profile = 'full_user_profile';
  var user_info = 'user_info';
  var full_post = 'full_post';
  var post_info = 'post_info';
  var auth = 'auth';
  var token = 'token';
  var server_info = 'server_info';

  //only CREATE
  var user_registration = 'user_registration';
  var edit_sentence = 'edit_sentence';
  var report = 'report';
  var edit_post = 'edit_post';
  var privkey_with_login = 'privkey_with_login';
  var privkey = 'privkey';
  var post_id = 'post_id';
  var sentence_id = 'sentence_id';

  //various
  var my_config = 'my_config';
  var user_profile = 'user_profile';
  var sentence = 'sentence';
  var post = 'post';
  var devicekey = 'devicekey';
}
